﻿namespace LicenseDemo.Licenses;

/// <summary>
/// License 数据
/// </summary>
class LicenseData
{
    public string Id => Guid.NewGuid().ToString();
    public string AppName { get; set; } = null!;
    public string AppVersion { get; set; } = null!;
    public string AuthCode { get; set; } = null!;
    public string UserName { get; set; } = null!;
    public string CompanyName { get; set; } = null!;
    public DateTimeOffset StartDate { get; set; }
    public DateTimeOffset ExpirationDate { get; set; }
    public List<string> AllowedFeatures { get; set; } = [];
}
